import request from '@/utils/request.js'
// 获取结算页
export const getOrderList=()=>{
  return request.get('/member/order/pre')
}

// 提交订单--- 生成订单
export const submitOrderList=(data)=>{
  return request.post('/member/order',data)
}

// 获取订单详细
export const acquireOrderList=(id)=>{
  return request.get(`/member/order/${id}`)
}


// 获取我的订单
// data:{orderState:0,page:1,pageSize:2},
export const getMyOrderList=(params)=>{
  return request.get('/member/order',{params})
}